#pragma once

#include "Application.h"
#include "HomeController.h"
#include "HomeView.h"
#include "GestureUpdateTask.h"
#include "ModuleManager.h"
#include "BatteryModuleRequest.h"

#define HOME_APP_TASK "home_app_task"

class Home : public Application
{
private:
    HomeController* controller;
    HomeView* view;
	bool firstShow = true;
	void updateBattery();
public:
    Home() : Application(HOME_APP_TASK)
    {
        view = new HomeView();
        controller = new HomeController(this, view);
    };
	virtual void execute();
	virtual void init();
	virtual void suspend();
	virtual void active();
    ~Home() 
    {
        delete controller;
        delete view;
    };
};

